//
//  StaticData.h
//  beast_tamer
//
//  Created by bean on 13/2/6.
//  Copyright 2013年 __MyCompanyName__. All rights reserved.
//

#ifndef beast_tamer_StaticData_h
#define beast_tamer_StaticData_h

#include "cocos2d.h"
#include "StructManager.h"
static const int BUFFER_MONSTER = 64;
static const int BUFFER_SKILL = 128;
class XmlDataSheetCPP;
class StaticData : public cocos2d::CCObject
{
public:
    StaticData(void);
    virtual ~StaticData(void);
    virtual bool init(void);
    struct MonsterStruct m_monsterStruct[BUFFER_MONSTER];

    static StaticData* sharedStaticData(void);
private:
    void loadItem(XmlDataSheetCPP* xmlParser);
    void loadMonster(XmlDataSheetCPP* xmlParser);
};

Race getRaceTypeWithRaceName(const char* race);
#endif
